.class Lcn/domob/android/ads/m;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field private static a:Lcn/domob/android/ads/H;


# instance fields
.field private b:Landroid/content/Context;

.field private c:Lcn/domob/android/ads/C;

.field private d:Lcn/domob/android/ads/C;

.field private e:Lcn/domob/android/ads/v$a;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    new-instance v0, Lcn/domob/android/ads/H;

    const-class v1, Lcn/domob/android/ads/m;

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcn/domob/android/ads/H;-><init>(Ljava/lang/String;)V

    sput-object v0, Lcn/domob/android/ads/m;->a:Lcn/domob/android/ads/H;

    return-void
.end method

.method constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .locals 3

    const/4 v2, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    sget-object v0, Lcn/domob/android/ads/m;->a:Lcn/domob/android/ads/H;

    const-string v1, "Init creative container."

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/H;->a(Ljava/lang/String;)V

    iput-object p1, p0, Lcn/domob/android/ads/m;->b:Landroid/content/Context;

    new-instance v0, Lcn/domob/android/ads/C;

    invoke-direct {v0, p1, p2, v2}, Lcn/domob/android/ads/C;-><init>(Landroid/content/Context;Ljava/lang/String;I)V

    iput-object v0, p0, Lcn/domob/android/ads/m;->c:Lcn/domob/android/ads/C;

    new-instance v0, Lcn/domob/android/ads/C;

    invoke-direct {v0, p1, p3, v2}, Lcn/domob/android/ads/C;-><init>(Landroid/content/Context;Ljava/lang/String;I)V

    iput-object v0, p0, Lcn/domob/android/ads/m;->d:Lcn/domob/android/ads/C;

    return-void
.end method

.method static synthetic a(Lcn/domob/android/ads/m;)Lcn/domob/android/ads/C;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/m;->d:Lcn/domob/android/ads/C;

    return-object v0
.end method

.method static synthetic d()Lcn/domob/android/ads/H;
    .locals 1

    sget-object v0, Lcn/domob/android/ads/m;->a:Lcn/domob/android/ads/H;

    return-object v0
.end method


# virtual methods
.method protected a()Lcn/domob/android/ads/C;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/m;->c:Lcn/domob/android/ads/C;

    return-object v0
.end method

.method protected a(Lcn/domob/android/ads/i$b$a;)V
    .locals 8

    const/4 v7, 0x1

    const/4 v6, 0x0

    const/4 v2, -0x1

    invoke-virtual {p1}, Lcn/domob/android/ads/i$b$a;->k()I

    move-result v0

    if-eq v0, v2, :cond_1

    invoke-virtual {p1}, Lcn/domob/android/ads/i$b$a;->k()I

    move-result v0

    int-to-float v0, v0

    iget-object v1, p0, Lcn/domob/android/ads/m;->b:Landroid/content/Context;

    invoke-static {v1}, Lcn/domob/android/ads/n;->u(Landroid/content/Context;)F

    move-result v1

    mul-float/2addr v0, v1

    float-to-int v0, v0

    :goto_0
    invoke-virtual {p1}, Lcn/domob/android/ads/i$b$a;->l()I

    move-result v1

    if-eq v1, v2, :cond_0

    invoke-virtual {p1}, Lcn/domob/android/ads/i$b$a;->l()I

    move-result v1

    int-to-float v1, v1

    iget-object v2, p0, Lcn/domob/android/ads/m;->b:Landroid/content/Context;

    invoke-static {v2}, Lcn/domob/android/ads/n;->u(Landroid/content/Context;)F

    move-result v2

    mul-float/2addr v1, v2

    float-to-int v1, v1

    :goto_1
    sget-object v2, Lcn/domob/android/ads/m;->a:Lcn/domob/android/ads/H;

    const-string v3, "Expandable size is: %d * %d"

    const/4 v4, 0x2

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v6

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v4, v7

    invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcn/domob/android/ads/H;->a(Ljava/lang/String;)V

    new-instance v2, Lcn/domob/android/ads/v$a;

    iget-object v3, p0, Lcn/domob/android/ads/m;->b:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcn/domob/android/ads/v$a;-><init>(Landroid/content/Context;)V

    invoke-virtual {v2, v0, v1}, Lcn/domob/android/ads/v$a;->a(II)Lcn/domob/android/ads/v$a;

    move-result-object v0

    invoke-virtual {v0, v6, v6, v6, v7}, Lcn/domob/android/ads/v$a;->a(ZZZZ)Lcn/domob/android/ads/v$a;

    move-result-object v0

    invoke-virtual {p1}, Lcn/domob/android/ads/i$b$a;->j()Z

    move-result v1

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/v$a;->a(Z)Lcn/domob/android/ads/v$a;

    move-result-object v0

    new-instance v1, Lcn/domob/android/ads/m$1;

    invoke-direct {v1, p0}, Lcn/domob/android/ads/m$1;-><init>(Lcn/domob/android/ads/m;)V

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/v$a;->a(Lcn/domob/android/ads/v$c;)Lcn/domob/android/ads/v$a;

    move-result-object v0

    iput-object v0, p0, Lcn/domob/android/ads/m;->e:Lcn/domob/android/ads/v$a;

    iget-object v0, p0, Lcn/domob/android/ads/m;->e:Lcn/domob/android/ads/v$a;

    iget-object v1, p0, Lcn/domob/android/ads/m;->d:Lcn/domob/android/ads/C;

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/v$a;->a(Landroid/view/View;)V

    iget-object v0, p0, Lcn/domob/android/ads/m;->d:Lcn/domob/android/ads/C;

    const-string v1, "javascript:domobjs.onViewable()"

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/C;->loadUrl(Ljava/lang/String;)V

    return-void

    :cond_0
    move v1, v2

    goto :goto_1

    :cond_1
    move v0, v2

    goto :goto_0
.end method

.method protected b()Lcn/domob/android/ads/C;
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/m;->d:Lcn/domob/android/ads/C;

    return-object v0
.end method

.method protected c()V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/m;->e:Lcn/domob/android/ads/v$a;

    invoke-virtual {v0}, Lcn/domob/android/ads/v$a;->a()V

    return-void
.end method
